Skip to main content
POST
[Instances] Preview what ordering an instance costs

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).

Path Parameters

organization_id
string
required

Unique identifier of the organization that owns the resource.

project_id
string
required

Unique identifier of the project containing the resource.

Body

application/json
size_id
string<uuid>
required
location_id
string<uuid>
required
image_id
string<uuid>
required
billing_cycle
enum<string>
required
  • hourly - hourly
  • monthly - monthly
  • quarterly - quarterly
  • semi_annually - semi_annually
  • annually - annually
  • biennially - biennially
  • triennially - triennially
Available options:
hourly,
monthly,
quarterly,
semi_annually,
annually,
biennially,
triennially
name
string
default:""
Maximum string length: 255
volume_id
string<uuid> | null
ssh_keys
string<uuid>[]
install_management_key
boolean
default:true
vpc_id
string<uuid> | null
project_id
string<uuid> | null
tags
string[]
one_click_apps
object[]
control_panel
string | null

Slug or id of an active control panel installed after creation

Maximum string length: 100
addon_ids
string[]

Paid add-ons to order with the instance, billed on the same order as the instance. Each entry is a size add-on id (available_addons[].id), an add-on id or an add-on slug of the chosen size. A Windows image still requires the Windows Server licence add-on.

Maximum array length: 20
Maximum string length: 100
accepted_contract_ids
string<uuid>[]

Contract version ids the customer ticked before ordering

Response

Order preview computed successfully